import vueRouter from 'vue-router'
import Vue from 'vue'

Vue.use(vueRouter)

let router = new vueRouter({
    routes: [
        {
            name: 'double-bind',
            path: '/double-bind',
            component: () => import('./components/double-bind.vue')
        },
        {
            name: 'slot',
            path: '/slot',
            component: () => import('./components/slot')
        },
        {
            name: 'lifeLoop',
            path: '/lifeLoop',
            component: () => import('./components/lifeLoop')
        },
        {
            name: 'functional',
            path: '/functional',
            component: () => import('./components/functional')
        },
        {
            name: 'focus',
            path: '/focus',
            component: () => import('./components/directive')
        },
        {
            name: 'provide',
            path: '/provide',
            component: () => import('./components/provide')
        },
    ]
})

export default router